package com.ruoyi.hospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.hospital.domain.Hospitals;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HospitalsMapper extends BaseMapper<Hospitals> {

    /**
     * 查询医院信息列表
     */
    List<Hospitals> selectHospitalsList(Hospitals hospitals);

    /**
     * 查询医院信息详细
     */
    Hospitals selectHospitalsByHospitalId(String hospitalId);

    /**
     * 新增医院信息
     */
    int insertHospitals(Hospitals hospitals);

    /**
     * 修改医院信息
     */
    int updateHospitals(Hospitals hospitals);

    /**
     * 删除医院信息
     */
    int deleteHospitalsByHospitalId(String hospitalId);

    /**
     * 批量删除医院信息
     */
    int deleteHospitalsByHospitalIds(List<String> hospitalIds);
}